1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
= "codex"
[]
= "responses"
= "https://api.openai.com/v1"
= "OPENAI_API_KEY"
# Optional plaintext key. When set, this takes precedence over api_key_env.
# Warning: protect this file and never commit a real key.
# api_key = "sk-..."
= 8192
# OpenAI's default is used when base_url is omitted.
# base_url = "https://api.openai.com/v1"
# For an OpenAI-compatible third-party gateway, add another provider:
# [providers.gateway]
# type = "chatcompletion"
# base_url = "https://gateway.example/v1"
# api_key_env = "GATEWAY_API_KEY"
# Anthropic provider example:
# [providers.anthropic]
# type = "anthropic"
# base_url = "https://api.anthropic.com"
# api_key_env = "ANTHROPIC_API_KEY"
# Third-party gateways can require extra headers.
[]
# X-Tenant = "acme"
# Provider-level request fields are inherited by every linked model.
[]
# service_tier = "priority"
[]
= "openai"
= "gpt-5.6"
= "medium"
= ["low", "medium", "high", "xhigh", "max"]
= 1050000
# Multiple model profiles may share a provider and override request settings.
# [models.fast]
# provider = "openai"
# model = "gpt-5.6"
# effort = "low"
# efforts = ["none", "low", "medium"]
# context_window = 1050000
# max_tokens = 4096
#
# [models.fast.request]
# service_tier = "default"
[]
= false
= "ctrl-o"
= 2048
= 8192
= 16
= 6
[]
= 120
= 8
= 65536
[]
= 5
= 131072
= 1000
[]
= 50
= 5000
= 1000