Poe API

Bot image for GPT-3.5-Turbo

GPT-3.5-Turbo

Chat

Powered by OpenAI: gpt-3.5-turbo-0125. Learn more
  1. OFFICIAL

Build with GPT-3.5-Turbo using the Poe API

Start by creating an API key, for use with any bot on Poe:

Generate API key

Code samples

Chat Completions API
import openai

client = openai.OpenAI(
    api_key = "YOUR_POE_API_KEY",  # or os.getenv("POE_API_KEY")
    base_url = "https://api.poe.com/v1",
)

chat = client.chat.completions.create(
    model = "gpt-3.5-turbo",
    messages = [{
      "role": "user",
      "content": "Explain the concept of black holes in a way that a 10-year-old would understand"
    }]
)

print(chat.choices[0].message.content)

See the full documentation for comprehensive guidance on getting started.


More from OpenAI

Bot image for GPT-5.4-Mini
GPT-5.4-Mini
Bot image for GPT-5.4-Nano
GPT-5.4-Nano
Bot image for GPT-5.4-Pro
GPT-5.4-Pro
Bot image for GPT-5.3-Codex-Spark
GPT-5.3-Codex-Spark
Bot image for GPT-5.3-Instant
GPT-5.3-Instant
Bot image for GPT-5.4
GPT-5.4
Bot image for GPT-5.3-Codex
GPT-5.3-Codex
Bot image for GPT-5.2-Codex
GPT-5.2-Codex
Bot image for GPT-Image-1.5
GPT-Image-1.5
Bot image for GPT-5.2-Pro
GPT-5.2-Pro