|
| 1 | +################################################################################ |
| 2 | +# Azure OpenAI Backend Configuration |
| 3 | +################################################################################ |
| 4 | +# |
| 5 | +# This file defines the model specifications for Azure OpenAI models. |
| 6 | +# It contains model definitions for OpenAI models deployed on Azure |
| 7 | +# accessible through the Azure OpenAI API. |
| 8 | +# |
| 9 | +# Configuration structure: |
| 10 | +# - Each model is defined in its own section with the model name as the header |
| 11 | +# - Headers with dots must be quoted (e.g., ["gpt-4.1"]) |
| 12 | +# - Model costs are in USD per million tokens (input/output) |
| 13 | +# |
| 14 | +################################################################################ |
| 15 | + |
| 16 | +################################################################################ |
| 17 | +# MODEL DEFAULTS |
| 18 | +################################################################################ |
| 19 | + |
| 20 | +[defaults] |
| 21 | +model_type = "llm" |
| 22 | +sdk = "azure_openai" |
| 23 | +prompting_target = "openai" |
| 24 | + |
| 25 | +################################################################################ |
| 26 | +# LANGUAGE MODELS |
| 27 | +################################################################################ |
| 28 | + |
| 29 | +# --- GPT-4o Series ------------------------------------------------------------ |
| 30 | +[gpt-4o] |
| 31 | +model_id = "gpt-4o-2024-11-20" |
| 32 | +inputs = ["text", "images"] |
| 33 | +outputs = ["text", "structured"] |
| 34 | +costs = { input = 2.5, output = 10.0 } |
| 35 | + |
| 36 | +[gpt-4o-mini] |
| 37 | +model_id = "gpt-4o-mini-2024-07-18" |
| 38 | +inputs = ["text", "images"] |
| 39 | +outputs = ["text", "structured"] |
| 40 | +costs = { input = 0.15, output = 0.6 } |
| 41 | + |
| 42 | +# --- GPT-4.1 Series ----------------------------------------------------------- |
| 43 | +["gpt-4.1"] |
| 44 | +model_id = "gpt-4.1-2025-04-14" |
| 45 | +inputs = ["text", "images"] |
| 46 | +outputs = ["text", "structured"] |
| 47 | +costs = { input = 2, output = 8 } |
| 48 | + |
| 49 | +["gpt-4.1-mini"] |
| 50 | +model_id = "gpt-4.1-mini-2025-04-14" |
| 51 | +inputs = ["text", "images"] |
| 52 | +outputs = ["text", "structured"] |
| 53 | +costs = { input = 0.4, output = 1.6 } |
| 54 | + |
| 55 | +["gpt-4.1-nano"] |
| 56 | +model_id = "gpt-4.1-nano-2025-04-14" |
| 57 | +inputs = ["text", "images"] |
| 58 | +outputs = ["text", "structured"] |
| 59 | +costs = { input = 0.1, output = 0.4 } |
| 60 | + |
| 61 | +# --- o Series ---------------------------------------------------------------- |
| 62 | +[o1-mini] |
| 63 | +model_id = "o1-mini-2024-09-12" |
| 64 | +inputs = ["text"] |
| 65 | +outputs = ["text", "structured"] |
| 66 | +costs = { input = 3.0, output = 12.0 } |
| 67 | + |
| 68 | +[o1] |
| 69 | +model_id = "o1-2024-12-17" |
| 70 | +inputs = ["text", "images"] |
| 71 | +outputs = ["text", "structured"] |
| 72 | +costs = { input = 15.0, output = 60.0 } |
| 73 | + |
| 74 | +[o3-mini] |
| 75 | +model_id = "o3-mini-2025-01-31" |
| 76 | +inputs = ["text"] |
| 77 | +outputs = ["text", "structured"] |
| 78 | +costs = { input = 1.1, output = 4.4 } |
| 79 | + |
| 80 | +# --- GPT-5 Series ------------------------------------------------------------- |
| 81 | +[gpt-5-mini] |
| 82 | +model_id = "gpt-5-mini-2025-08-07" |
| 83 | +inputs = ["text", "images"] |
| 84 | +outputs = ["text", "structured"] |
| 85 | +costs = { input = 0.25, output = 2.0 } |
| 86 | + |
| 87 | +[gpt-5-nano] |
| 88 | +model_id = "gpt-5-nano-2025-08-07" |
| 89 | +inputs = ["text", "images"] |
| 90 | +outputs = ["text", "structured"] |
| 91 | +costs = { input = 0.05, output = 0.4 } |
| 92 | + |
| 93 | +[gpt-5-chat] |
| 94 | +model_id = "gpt-5-chat-2025-08-07" |
| 95 | +inputs = ["text", "images"] |
| 96 | +outputs = ["text", "structured"] |
| 97 | +costs = { input = 1.25, output = 10.0 } |
| 98 | + |
0 commit comments