Logo SVG copied to clipboard
Offer 🎁 Talk to us and get $25 of Gemini credit

Use OpenAI SDK with Manifest

1.4B tokens / 30 days
App AI SDK

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.

76 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"}],
)
OPENAI_BASE_URL https://api.manifest.build/v1
OPENAI_API_KEY mnfst_YOUR_KEY
model auto

OpenAI SDK tokens processed on Manifest

Models in use

# Model
Auth type Tokens / last 30 days
1.MiniMax M3
Subscription573 M
2.Gpt 5.6 Sol
Subscription146 M
3.Claude Sonnet 4 6
Subscription95 M
4.Claude Opus 4 6
Subscription75 M
5.Gpt 5.6 Terra
Subscription65 M
6.Qwen3.5 9b
API Key61 M
7.Glm 5.1
Subscription60 M
8.Mimo V2.5 Pro
API Key46 M
9.Gpt 5.3 Codex Spark
Subscription33 M
10.Gpt 4o Mini 2024 07 18
API Key26 M
11.Nemotron 3 Ultra 550b A55b
API Key25 M
12.Hy3
API Key24 M
13.Gpt 5.4 Mini
Subscription21 M
14.Gemma 4 31b It
API Key17 M
15.Gemini 3.1 Pro Preview
Subscription15 M
16.Nemotron 3 Nano Omni 30b A3b Reasoning
API Key14 M
17.Glm 5.2
Subscription14 M
18.Claude Haiku 4 5
Subscription10 M
19.Kimi K3
Subscription9 M
20.Claude Fable 5
Subscription6 M
21.Gemma4:31b
Subscription5 M
22.Gemini 3.5 Flash Lite
API Key5 M
23.Glm 4.7
Subscription4 M
24.Gpt 4o Mini
API Key4 M
25.Deepseek V4 Pro
API Key3 M
26.Gemma 4 26b A4b It
API Key2 M
27.Gpt 5.4
Subscription1 M
28.Gpt 5.5
Subscription1 M
29.Gemini 3.1 Flash Lite
API Key1 M
30.Gemini 2.5 Flash
Subscription1 M
31.Deepseek V4 Flash
Subscription531 K
32.Gpt 5.2
API Key430 K
33.Llama 4 Scout 17b 16e Instruct
API Key427 K
34.Gpt 4o
API Key331 K
35.Claude Opus 4 8
API Key296 K
36.Qwen3 14b
API Key167 K
37.Openrouter Free
API Key143 K
38.Gpt 4o 2024 08 06
Subscription124 K
39.Gpt 4o 2024 08 06
API Key117 K
40.Kilo Auto Free
API Key103 K
41.Gemini 2.5 Flash Lite
Subscription92 K
42.MiniMax M2.7
Subscription62 K
43.Mimo V2.5 Free
API Key53 K
44.Gemini 3 Flash Preview
Subscription46 K
45.Gemini 3.5 Flash
API Key41 K
46.Gpt 4o Mini
Subscription29 K
47.Gemma 4 31b It
API Key18 K
48.Gpt 4o
Subscription8 K
49.O4 Mini
API Key7 K
50.Deepseek V4 Pro
API Key7 K
51.Qwen3.6 Flash
API Key4 K
52.Gemini Pro Latest
API Key3 K
53.Claude Sonnet 5
Subscription2 K
54.Gpt 5.4 Nano
API Key2 K
55.Kimi K3
API Key2 K
56.Big Pickle
API Key1 K
57.Claude Opus 5
Subscription853
58.Gpt 5.4 Mini
API Key732
59.Claude Opus 4 8
Subscription445
60.Gpt 5.6 Luna
Subscription364
61.Gpt 5.5
API Key285
62.Gemini 3.5 Flash
API Key216
63.GLM 5.2
Subscription159
64.Gpt 5.6 Luna
Subscription155
65.Gpt 5.4
API Key128
66.MiniMax M2.5 Highspeed
Subscription116
67.Gemini 2.5 Flash
API Key48
68.Claude Haiku 4 5 20251001
API Key45
69.Gpt 5.6 Terra
Subscription43
70.Gpt 5.6 Sol
Subscription42
71.Claude Sonnet 4 5
Subscription40
72.Gemini 3.1 Flash Lite
Subscription27
73.Gpt 5.5
Subscription20
74.Claude Sonnet 4 6
API Key19
75.Claude Sonnet 5
API Key14
76.Gemini 3.5 Flash Lite
API Key11