Go SDK

Coming soon.

In the meantime, install the SDK and explore the API:

go get github.com/modelrelay/sdk-go
package main

import (
    "context"
    "fmt"
    "os"

    sdk "github.com/modelrelay/sdk-go"
)

func main() {
    client, _ := sdk.NewClientWithKey(
        sdk.MustParseAPIKey(os.Getenv("MODELRELAY_API_KEY")),
    )

    answer, _ := client.Responses.Text(
        context.Background(),
        sdk.NewModelID("claude-sonnet-4-20250514"),
        "You are a helpful assistant.",
        "Hello!",
    )

    fmt.Println(answer)
}