Global Models Endpoint v1 Draft
Global Models Endpoint (GME) is an open standard that defines a universal API format for AI providers. Any provider implementing GME can be integrated into applications using the same endpoints, request structure, and response format.
/gme/v1
POST /gme/v1/chat
{
"model":"example-model",
"input":"Hello!",
"temperature":0.7,
"max_tokens":512
}
{
"id":"chat_001",
"model":"example-model",
"output":"Hello!",
"finish_reason":"stop",
"usage":{
"input_tokens":5,
"output_tokens":2,
"total_tokens":7
}
}
Providers should authenticate requests using the Authorization header.
Authorization: Bearer YOUR_API_KEY
Providers implementing the required GME endpoints may identify themselves as GME Compatible.
GME is an evolving standard. If you would like to propose a new endpoint, request field, response field, or any other extension, please send your proposal by email.
Approved extensions may be included in future versions of the GME Specification.