Poe API
GLM-5 is an open-source foundation model engineered for complex system engineering and long-horizon Agent tasks, delivering reliable productivity for top-tier programmers. Transcending the boundary from "writing code" to "building systems," it moves beyond traditional snippet generation to offer senior-architect-level planning and execution capabilities. By rejecting the "frontend-heavy, logic-light" approach, GLM-5 demonstrates exceptional reasoning and self-healing abilities in backend refactoring, complex algorithm implementation, and deep debugging—autonomously analyzing logs and iteratively fixing persistent bugs until the system runs. As the first open-source model featuring Opus-class style and system engineering depth, GLM-5 provides extreme logic density alongside the freedom of local deployment and high cost-effectiveness, making it the ideal choice for large-scale backend development and automated Agent construction.
File Support: Text, Markdown and PDF files
Context window: 205k tokens
Powered by a server managed by @novitaai. Learn more
- OFFICIAL
- NEW
Build with GLM-5 using the Poe API
Start by creating an API key, for use with any bot on Poe:
Code samples
python
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 = "glm-5",
messages = [{
"role": "user",
"content": "Write a Java function to convert a binary number to a decimal number"
}]
)
print(chat.choices[0].message.content)See the full documentation for comprehensive guidance on getting started.