For AI agents: visit https://docs.notdiamond.ai/llms.txt for an index of all pages formatted in Markdown and endpoints in OpenAPI. Append .md to any documentation page URL to get its markdown version.
Jump to Content
Documentation
API Reference
Log In
Documentation
Log In
Documentation
API Reference
What is Not Diamond?
Introduction
What is Not Diamond?
API keys
Typescript SDK
Python SDK
Intelligent Model Routing
What is Model Routing?
Pre-trained router: Code
Pre-trained router: Chat
Training a custom router
Supported models (routing)
Routing between custom models
Key concepts
Prompt Optimization
What is Prompt Optimization?
Quick start
Key concepts
Examples
Classification
Supported models (prompt optimization)
Evaluation metrics
How Prompt Optimization works
References
API reference
Rate limits
Support
Security
Powered by
What is Not Diamond?
Copy Page