mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-28 04:04:31 +00:00
docs(cost_tracking.md): add docs for cost tracking dall e 3 calls
This commit is contained in:
parent
2c4407bb04
commit
299dc7a29b
1 changed files with 18 additions and 0 deletions
|
@ -0,0 +1,18 @@
|
||||||
|
# Cost Tracking - Azure
|
||||||
|
|
||||||
|
Set base model for cost tracking azure image-gen call
|
||||||
|
|
||||||
|
## Image Generation
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
model_list:
|
||||||
|
- model_name: dall-e-3
|
||||||
|
litellm_params:
|
||||||
|
model: azure/dall-e-3-test
|
||||||
|
api_version: 2023-06-01-preview
|
||||||
|
api_base: https://openai-gpt-4-test-v-1.openai.azure.com/
|
||||||
|
api_key: os.environ/AZURE_API_KEY
|
||||||
|
base_model: dall-e-3 # 👈 set dall-e-3 as base model
|
||||||
|
model_info:
|
||||||
|
mode: image_generation
|
||||||
|
```
|
Loading…
Add table
Add a link
Reference in a new issue