Code Davinci Edit 001

code-davinci-edit-001 · 智谱 ChatGLM

API Pricing

Input$20 / 1M tokens
Output$20 / 1M tokens

Frequently asked questions

How much does Code Davinci Edit 001 cost?

On AIHubMix, Code Davinci Edit 001 costs $20 per million input tokens and $20 per million output tokens.

How do I call Code Davinci Edit 001 via API?

Code Davinci Edit 001 is available through the AIHubMix unified API. The API is OpenAI-compatible: point your OpenAI SDK at https://aihubmix.com/v1, use your AIHubMix API key, and set the model name to code-davinci-edit-001 — no other code changes needed.

Who created Code Davinci Edit 001?

Code Davinci Edit 001 is developed by 智谱 ChatGLM. AIHubMix aggregates it alongside models from other providers behind one API and one bill.

More models from 智谱 ChatGLM

See all Z.AI models →

Embedding 2

by 智谱 ChatGLM

A text vector model that converts input text information into vector representations so…

$0.069/1M in · $0.069/1M out
8,000 tokens context

Embedding 3

by 智谱 ChatGLM

A text vector model that converts input text into vector representations to work with a…

$0.069/1M in · $0.069/1M out
8,000 tokens context

Chatglm_lite

by 智谱 ChatGLM
$0.286/1M in · $0.286/1M out

Chatglm_pro

by 智谱 ChatGLM
$1.429/1M in · $1.429/1M out

Chatglm_std

by 智谱 ChatGLM
$0.714/1M in · $0.714/1M out

Chatglm_turbo

by 智谱 ChatGLM
$0.714/1M in · $0.714/1M out

Use Code Davinci Edit 001 via the AIHubMix unified API — one interface for every major LLM.