Inflection 3 Pi
Inflection AIReleased Oct 11, 2024
Inflection 3 Pi powers Inflection's [Pi](https://pi.ai) chatbot, including backstory, emotional intelligence, productivity, and safety. It has access to recent news, and excels in scenarios like customer support and roleplay. Pi...
- Context window
- 8K tokens
- Max output
- 1K tokens
- Input
- text
- Output
- text
- Tokenizer
- Other
- Knowledge cutoff
- Oct 31, 2024
- Released
- Oct 11, 2024
Pricing
Per 1M tokens. The provider price and our flat 3% fee are separate columns — what you pay is their sum.
| Per 1M tokens | Provider | + 3% fee | You pay |
|---|---|---|---|
| Input | $2.50 | $0.075 | $2.58 |
| Output | $10.00 | $0.300 | $10.30 |
Supported parameters
- max_tokens
- stop
- temperature
- top_p
Call it
OpenAI-compatible: point your SDK at api.openkey.ai/v1 and use model inflection/inflection-3-pi.
curl https://api.openkey.ai/v1/chat/completions \
-H "Authorization: Bearer $OPENKEY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "inflection/inflection-3-pi",
"messages": [{"role": "user", "content": "Hello"}]
}'import os
from openai import OpenAI
client = OpenAI(
base_url="https://api.openkey.ai/v1",
api_key=os.environ["OPENKEY_API_KEY"],
)
completion = client.chat.completions.create(
model="inflection/inflection-3-pi",
messages=[{"role": "user", "content": "Hello"}],
)
print(completion.choices[0].message.content)import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://api.openkey.ai/v1",
apiKey: process.env.OPENKEY_API_KEY,
});
const completion = await client.chat.completions.create({
model: "inflection/inflection-3-pi",
messages: [{ role: "user", content: "Hello" }],
});
console.log(completion.choices[0].message.content);Questions
- How much does Inflection 3 Pi cost via API?
- Through OpenKey, Inflection 3 Pi costs $2.58 per 1M input tokens and $10.30 per 1M output tokens. That is the provider price ($2.50 / $10.00) plus a flat 3% fee — nothing else.
- What is Inflection 3 Pi's context window?
- Inflection 3 Pi accepts up to 8K tokens of context and returns up to 1K tokens per request.
- Is Inflection 3 Pi OpenAI-compatible?
- Yes. Send requests to OpenKey's /v1/chat/completions endpoint with model "inflection/inflection-3-pi" using any OpenAI SDK — only the base URL and API key change.
- What inputs does Inflection 3 Pi support?
- Inflection 3 Pi accepts text input and produces text output. Its knowledge cutoff is Oct 31, 2024.