Use OpenAI SDK with Manifest
The OpenAI Python and TypeScript SDKs talk to any OpenAI-compatible endpoint. Point
them at Manifest by setting OPENAI_BASE_URL
and every chat completion, response, tool call, or Agents SDK loop routes through
the right model.
203 models routed through Manifest over the last 30 days.
Why use the OpenAI SDK with Manifest
Chatty workloads (Agents SDK loops, tool retries, chain-of-thought reasoning) burn tokens fast. Manifest intercepts each call, picks the right model, and keeps your code identical. Same SDK, same shapes, lower bill.
- One env var change: OPENAI_BASE_URL
- Slash token spend by 50–70% on chatty agent loops
- Works for the OpenAI SDK and the OpenAI Agents SDK
- Tool calling, structured outputs, and streaming all pass through
- Per-app spend caps and audit logs in the dashboard
- Open source: inspect and self-host the router
Setup in 60 seconds
Set two environment variables and the OpenAI SDK picks them up on the next run, no code changes required.
Point the SDK at Manifest by setting these env vars in your shell or
.env file:
export OPENAI_BASE_URL="https://api.manifest.build/v1"
export OPENAI_API_KEY="mnfst_YOUR_KEY"
Then use the SDK exactly as you would normally. Just point at
"auto" to let Manifest pick the model:
from openai import OpenAI
client = OpenAI()
response = client.chat.completions.create(
model="auto",
messages=[{"role": "user", "content": "Hello"}],
)
import OpenAI from "openai";
const client = new OpenAI();
const response = await client.chat.completions.create({
model: "auto",
messages: [{ role: "user", content: "Hello" }],
});
https://api.manifest.build/v1
mnfst_YOUR_KEY
auto
OpenAI SDK tokens processed on Manifest
Models in use
# Model |
Auth type | Tokens / last 30 days |
|---|---|---|
1.Gpt 5.6 Luna Pro | API Key | 108 M |
2.Gpt 5.6 Sol | Subscription | 49 M |
3.Gpt 5.3 Codex Spark | Subscription | 27 M |
4.Gpt 5.4 Mini | Subscription | 11 M |
5.Grok 4.5 | Subscription | 11 M |
6.Deepseek V4 Flash | Subscription | 10 M |
7.Nemotron 3 Nano Omni 30b A3b Reasoning | API Key | 10 M |
8.Claude Sonnet 5 | Subscription | 9 M |
9.Gpt 5.6 Luna | Subscription | 6 M |
10.Deepseek V4 Pro | API Key | 6 M |
11.Hy3 | API Key | 6 M |
12.Gemini 3.1 Flash Lite | API Key | 4 M |
13.Gpt 5.6 Terra | API Key | 4 M |
14.Openrouter Free | API Key | 1 M |
15.Kilo Auto Free | API Key | 1 M |
16.Claude Opus 5 | Subscription | 936 K |
17.Gpt 5.5 | Subscription | 924 K |
18.Gpt 5.6 Luna | API Key | 891 K |
19.Grok 4.6 | Subscription | 629 K |
20.Gpt 5.6 Terra | Subscription | 606 K |
21.Ox Alpha | API Key | 601 K |
22.Gpt 4o Mini | API Key | 590 K |
23.Deepseek V4 Flash Vision Exp | Subscription | 510 K |
24.Gpt 5.4 Mini | API Key | 473 K |
25.Claude Fable 5 1 | Subscription | 388 K |
26.Gpt 5.6 Luna | Subscription | 385 K |
27.Mistral Small Latest | API Key | 381 K |
28.Qwen3.8 Max | Subscription | 311 K |
29.Gpt 5.4 | Subscription | 241 K |
30.Minimax M3 | Subscription | 239 K |
31.Gemini 2.5 Flash | Subscription | 196 K |
32.Gemma 4 31b It | API Key | 179 K |
33.Minimax M3 | API Key | 170 K |
34.Glm 5.3 Flash | Subscription | 158 K |
35.Nex N2.5 Pro | API Key | 156 K |
36.Claude Haiku 4 5 | Subscription | 155 K |
37.Laguna S 2.1 | Subscription | 120 K |
38.Deepseek Flash | Subscription | 111 K |
39.Qwen3.7 Plus | Subscription | 102 K |
40.Big Pickle | API Key | 101 K |
41.Gemma4:31b | Subscription | 98 K |
42.Mistral Medium Latest | API Key | 88 K |
43.Gpt 4o 2024 08 06 | Subscription | 69 K |
44.Glm 5.3 | Subscription | 65 K |
45.Deepseek V4.1 Flash | Subscription | 37 K |
46.Grok Build 0.1 | Subscription | 36 K |
47.Gemini 3.7 Flash | API Key | 31 K |
48.Claude Opus 4 8 | Subscription | 30 K |
49.Gpt 5 Mini | Subscription | 30 K |
50.MiniMax M3 | Subscription | 27 K |
51.Gpt 5.6 Luna | Subscription | 26 K |
52.Minimax M3 | Subscription | 24 K |
53.Glm 5.3 Flash | Subscription | 23 K |
54.Kimi K3 | API Key | 22 K |
55.Muse Spark 1.2 Contributor | API Key | 16 K |
56.Nemotron 3 Nano Omni 30b A3b Reasoning | API Key | 16 K |
57.Kimi K3 | Subscription | 15 K |
58.Qwen3.8 Flash | Subscription | 14 K |
59.Grok 4.3 | Subscription | 14 K |
60.Gpt 4o | Subscription | 9 K |
61.Glm 4.6 | Subscription | 9 K |
62.Claude Sonnet 4 6 | Subscription | 6 K |
63.MiniMax M2.5 Highspeed | Subscription | 6 K |
64.Nemotron 3.5 Lightning | API Key | 5 K |
65.Gpt 5.6 Sol Pro | Subscription | 5 K |
66.Gpt 5.6 Terra Pro | Subscription | 5 K |
67.Gpt 5.6 Luna Pro | Subscription | 5 K |
68.Deepseek V4 Flash Latest | API Key | 5 K |
69.Gpt Oss 120b | API Key | 4 K |
70.Gpt 5.4 Nano | API Key | 3 K |
71.Mistral Medium 2604 | API Key | 3 K |
72.Step 3.7 Flash | API Key | 2 K |
73.Kimi K2.7 Code | API Key | 2 K |
74.Qwen3.5 Flash | API Key | 1 K |
75.Codestral 2508 | API Key | 876 |
76.Kimi K2.7 Code | Subscription | 574 |
77.Grok Build 0.1 | Subscription | 514 |
78.Lfm 2.5 2.6b | API Key | 421 |
79.Laguna S 2.1 | API Key | 352 |
80.Qwen3.6 Max Preview | Subscription | 304 |
81.Deepseek V4 Flash | Subscription | 296 |
82.Mimo V2.5 Pro | Subscription | 267 |
83.Mimo V2.5 | Subscription | 263 |
84.Glm 4.6 | Subscription | 235 |
85.Glm 4.5 | Subscription | 214 |
86.Deepseek V4 Pro | Subscription | 198 |
87.Grok 4.20 0309 Reasoning | Subscription | 197 |
88.Grok 4.20 0309 Non Reasoning | Subscription | 193 |
89.Glm 4.5 Air | Subscription | 183 |
90.Qwen3.8 Max 0902 | Subscription | 154 |
91.Claude Sonnet 4 | Subscription | 148 |
92.Claude Opus 4.7 | Subscription | 133 |
93.Claude Fable 5 | Subscription | 128 |
94.Claude Opus 5 | Subscription | 120 |
95.Claude Opus 4.8 | Subscription | 100 |
96.Deepseek V4 Pro 0813 | Subscription | 99 |
97.Nemotron 3 Ultra 550b A55b | Subscription | 96 |
98.Gpt 5.2 | Subscription | 85 |
99.Gpt 5.4 Pro | Subscription | 84 |
100.Claude Fable 5 | API Key | 78 |
101.Ling 3.0 Flash Fin | API Key | 78 |
102.Solar Pro 3 | Subscription | 78 |
103.Gpt 5.5 | Subscription | 73 |
104.Gpt 5.1 | Subscription | 69 |
105.Longcat 2.0 Free | API Key | 64 |
106.Claude Sonnet 5 | Subscription | 62 |
107.Laguna Xs 2.1 | Subscription | 61 |
108.Claude Fable 5 | Subscription | 60 |
109.Gpt 4o | Subscription | 60 |
110.Solar Pro4 | Subscription | 60 |
111.Claude Haiku 4.5 | Subscription | 54 |
112.Claude Opus 4.1 | Subscription | 54 |
113.Claude Opus 4.5 | Subscription | 54 |
114.Claude Opus 4.6 | Subscription | 54 |
115.Claude Sonnet 4.5 | Subscription | 54 |
116.Claude Sonnet 4.6 | Subscription | 54 |
117.Gpt 5.2 Pro | Subscription | 51 |
118.Gpt 5.4 Mini | Subscription | 51 |
119.Gpt 4.1 | Subscription | 48 |
120.Gpt 4.1 Mini | Subscription | 48 |
121.Gpt 4.1 Nano | Subscription | 47 |
122.Deepseek V4 Flash 0731 | Subscription | 46 |
123.Deepseek V4 Flash Latest | Subscription | 46 |
124.Gpt 4o Mini | Subscription | 45 |
125.Glm 5.2 | Subscription | 45 |
126.Gpt 4 Turbo | Subscription | 43 |
127.Gpt 3.5 Turbo | Subscription | 42 |
128.Gemini 3.1 Pro Preview | Subscription | 39 |
129.Gemini 3.6 Flash | Subscription | 39 |
130.Gemini 2.5 Pro | Subscription | 37 |
131.Gemini 3.5 Flash | Subscription | 37 |
132.Gemini 3.7 Flash | Subscription | 36 |
133.Gpt 5 | Subscription | 36 |
134.Gpt 5.4 | Subscription | 36 |
135.Gpt 5 Mini | Subscription | 36 |
136.Gpt 5 Nano | Subscription | 36 |
137.Gpt 5 Pro | Subscription | 36 |
138.O3 Pro | Subscription | 36 |
139.Gpt 5 Codex | Subscription | 35 |
140.Gpt 5.4 Nano | Subscription | 34 |
141.Nemotron 3 Nano 30b A3b | Subscription | 32 |
142.Nemotron 3 Super 120b A12b | Subscription | 32 |
143.Mistral Medium 2312 | API Key | 29 |
144.Gpt 5.2 Codex | Subscription | 28 |
145.Gpt 5.5 Pro | Subscription | 28 |
146.Glm 5 | Subscription | 28 |
147.Glm 5.3 | Subscription | 28 |
148.Glm Latest | Subscription | 28 |
149.Gpt 5.1 Codex Mini | Subscription | 27 |
150.Aion 2.0 | Subscription | 26 |
151.Aion 3.0 Mini | Subscription | 26 |
152.Qwen3.7 Max | Subscription | 26 |
153.Gemini 3.5 Flash | API Key | 25 |
154.Gemma 3 27b It | Subscription | 25 |
155.Nemotron 3.5 Lightning | Subscription | 25 |
156.Aion 3.0 | Subscription | 24 |
157.Gemini 3.1 Flash Lite | Subscription | 24 |
158.Gemini 3.5 Flash Lite | Subscription | 24 |
159.Gemini 3 Flash Preview | Subscription | 24 |
160.Claude Fable Latest | Subscription | 22 |
161.Gemini 2.5 Flash | Subscription | 22 |
162.Gemini 2.5 Flash Lite | Subscription | 22 |
163.Glm 4.6v | Subscription | 22 |
164.Gemma 4 26b A4b It | Subscription | 21 |
165.Gemma 4 31b It | Subscription | 21 |
166.Glm 4.5v | Subscription | 21 |
167.Glm 4.7 | Subscription | 21 |
168.Glm 4.7 Flash | Subscription | 21 |
169.Glm 5.1 | Subscription | 21 |
170.Glm 5 Turbo | Subscription | 21 |
171.Glm 5v Turbo | Subscription | 21 |
172.Llama 3.3 70b Instruct | Subscription | 20 |
173.Claude Opus Latest | Subscription | 20 |
174.Claude Sonnet Latest | Subscription | 20 |
175.Claude 3 Haiku | Subscription | 18 |
176.Claude Haiku Latest | Subscription | 18 |
177.Claude Opus 4 | Subscription | 18 |
178.Claude Sonnet 4 | Subscription | 18 |
179.Gemma 3 12b It | Subscription | 18 |
180.Gpt 5.3 Codex | Subscription | 18 |
181.Qwen3 Max | Subscription | 16 |
182.Qwen3 Max Thinking | Subscription | 16 |
183.Gpt 3.5 Turbo 16k | Subscription | 15 |
184.Gpt 4o 2024 05 13 | Subscription | 15 |
185.Gpt 4o 2024 08 06 | Subscription | 15 |
186.Gpt 4o 2024 11 20 | Subscription | 15 |
187.Gpt 4o Mini 2024 07 18 | Subscription | 15 |
188.Glm 5.2:US | Subscription | 15 |
189.Gemini 3.1 Pro Preview Customtools | Subscription | 14 |
190.Gpt 4 | Subscription | 14 |
191.Gpt 5.4 | API Key | 13 |
192.Gemini 2.5 Pro Preview 05 06 | Subscription | 13 |
193.Gemini Flash Latest | Subscription | 13 |
194.Gemini Pro Latest | Subscription | 13 |
195.Gemini Flash Lite Latest | API Key | 12 |
196.Gemini 2.5 Pro Preview | Subscription | 12 |
197.Codestral 2508 | Subscription | 12 |
198.Gpt 5.1 Codex | Subscription | 12 |
199.Gpt 5.1 Codex Max | Subscription | 12 |
200.Nova Pro V1 | Subscription | 9 |
201.Gemini 3.1 Flash Lite Preview | Subscription | 9 |
202.Command R 08 2024 | Subscription | 8 |
203.Command R Plus 08 2024 | Subscription | 8 |